package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].TP_AnalysisDailyTargetSet", catalog="Id")
public class TpAnalysisDailyTargetSet extends BaseEntity<TpAnalysisDailyTargetSet> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="InfoTime", nameJava="infoTime", typeDataBase="char")
	private String infoTime;
	@YsField(nameDataBase="DailyTarget", nameJava="dailyTarget", typeDataBase="int")
	private Integer dailyTarget;
	@YsField(nameDataBase="ElaborateDailyTarget", nameJava="elaborateDailyTarget", typeDataBase="int")
	private Integer elaborateDailyTarget;
	@YsField(nameDataBase="GrowthRate", nameJava="growthRate", typeDataBase="decimal")
	private BigDecimal growthRate;
	@YsField(nameDataBase="ElaborateGrowthRate", nameJava="elaborateGrowthRate", typeDataBase="decimal")
	private BigDecimal elaborateGrowthRate;
	@YsField(nameDataBase="OrderTotal", nameJava="orderTotal", typeDataBase="int")
	private Integer orderTotal;
	@YsField(nameDataBase="ElaborateOrderTotal", nameJava="elaborateOrderTotal", typeDataBase="int")
	private Integer elaborateOrderTotal;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAnalysisDailyTargetSet setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TpAnalysisDailyTargetSet setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getInfoTime() {
		return infoTime;
	}
	public TpAnalysisDailyTargetSet setInfoTime(String infoTime) {
		this.infoTime = infoTime;
		return this;
	}
	public Integer getDailyTarget() {
		return dailyTarget;
	}
	public TpAnalysisDailyTargetSet setDailyTarget(Integer dailyTarget) {
		this.dailyTarget = dailyTarget;
		return this;
	}
	public Integer getElaborateDailyTarget() {
		return elaborateDailyTarget;
	}
	public TpAnalysisDailyTargetSet setElaborateDailyTarget(Integer elaborateDailyTarget) {
		this.elaborateDailyTarget = elaborateDailyTarget;
		return this;
	}
	public BigDecimal getGrowthRate() {
		return growthRate;
	}
	public TpAnalysisDailyTargetSet setGrowthRate(BigDecimal growthRate) {
		this.growthRate = growthRate;
		return this;
	}
	public BigDecimal getElaborateGrowthRate() {
		return elaborateGrowthRate;
	}
	public TpAnalysisDailyTargetSet setElaborateGrowthRate(BigDecimal elaborateGrowthRate) {
		this.elaborateGrowthRate = elaborateGrowthRate;
		return this;
	}
	public Integer getOrderTotal() {
		return orderTotal;
	}
	public TpAnalysisDailyTargetSet setOrderTotal(Integer orderTotal) {
		this.orderTotal = orderTotal;
		return this;
	}
	public Integer getElaborateOrderTotal() {
		return elaborateOrderTotal;
	}
	public TpAnalysisDailyTargetSet setElaborateOrderTotal(Integer elaborateOrderTotal) {
		this.elaborateOrderTotal = elaborateOrderTotal;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAnalysisDailyTargetSet setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAnalysisDailyTargetSet setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAnalysisDailyTargetSet setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAnalysisDailyTargetSet tpAnalysisDailyTargetSet(
		String vGsBm,
		String infoTime,
		Integer dailyTarget,
		Integer elaborateDailyTarget,
		BigDecimal growthRate,
		BigDecimal elaborateGrowthRate,
		Integer orderTotal,
		Integer elaborateOrderTotal,
		Integer status
			) {
		TpAnalysisDailyTargetSet entity = new TpAnalysisDailyTargetSet();
		entity.setVGsBm(vGsBm);
		entity.setInfoTime(infoTime);
		entity.setDailyTarget(dailyTarget);
		entity.setElaborateDailyTarget(elaborateDailyTarget);
		entity.setGrowthRate(growthRate);
		entity.setElaborateGrowthRate(elaborateGrowthRate);
		entity.setOrderTotal(orderTotal);
		entity.setElaborateOrderTotal(elaborateOrderTotal);
		entity.setStatus(status);
		return entity;
	}
}